package com.jia.train.seat.mapper;

import com.jia.train.seat.entity.TripStation;
import com.jia.train.seat.entity.TripStationExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TripStationMapper {
    long countByExample(TripStationExample example);

    int deleteByExample(TripStationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TripStation record);

    int insertSelective(TripStation record);

    List<TripStation> selectByExample(TripStationExample example);

    TripStation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TripStation record, @Param("example") TripStationExample example);

    int updateByExample(@Param("record") TripStation record, @Param("example") TripStationExample example);

    int updateByPrimaryKeySelective(TripStation record);

    int updateByPrimaryKey(TripStation record);
}